package com.example.department.service.impl;

import com.example.department.mapper.EmpMapper;
import com.example.department.pojo.Emp;
import com.example.department.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmpServiceimpl implements EmpService {
    @Autowired
    private EmpMapper empMapper;
    @Override
    public Emp login(Emp emp) {
        return empMapper.login(emp);
    }
}
